home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / prgtools / euphor14.zip / DEMO.DOC < prev    next >
Text File  |  1996-04-05  |  5KB  |  117 lines

  1.  
  2.         DEMO Programs Written in Euphoria
  3.         ---------------------------------
  4.  
  5.  This directory contains a number of example programs written in Euphoria.
  6.  These programs are being contributed to the Public Domain by 
  7.  Rapid Deployment Software. You are encouraged to modify and redistribute
  8.  any of these programs. 
  9.  
  10.  To run them type 'ex' followed by the file name. e.g.   ex polygon
  11.  
  12.  If you are in Windows, and you have associated .ex files with ex.exe, you 
  13.  can simply double-click to run any .ex file. A few of the simpler
  14.  programs expect to be run from the command line and they will terminate
  15.  immediately after displaying something.
  16.  
  17.  You can view and modify these programs using any editor, but we recommend 
  18.  using the Euphoria editor, ed, so you can get color syntax highlighting. 
  19.  
  20.  -----------------------------------------------------------------------------
  21.  Note! If you have trouble running any of the graphics oriented programs, try
  22.  changing the line that says: 
  23.     constant GRAPHICS_MODE = 261  -- SVGA
  24.  to: 
  25.     constant GRAPHICS_MODE = 18   -- VGA
  26.  This will provide VGA resolution, and is less likely to cause problems.
  27.  See include\graphics.e for other possible graphics modes. You should also
  28.  run under DOS or in a full-screen DOS window under Windows. (Press Alt-Enter)
  29.  -----------------------------------------------------------------------------
  30.  
  31.  NAME      DESCRIPTION
  32.  ----      -----------
  33.  
  34.  allsorts.ex - comparison of different sorting algorithms
  35.           - which is the fastest sorting algorithm in Euphoria?
  36.  
  37.  animal.ex - guess the animal game
  38.        - let the computer guess which animal you are thinking of
  39.        - it learns about animals as you play
  40.        - great fun for the kids
  41.        
  42.  bitmap.ex - displays bitmap (.BMP) pictures
  43.  
  44.  buzz.ex   - "buzzword" generator - Try adding your own phrases.
  45.  
  46.  callmach.ex - an example of calling machine code from Euphoria
  47.  
  48.  dosint.ex   - some examples of calling DOS system interrupt routines
  49.  
  50.  example.ex   - example merge_sort program from the reference manual
  51.  ex.pro       - ex.pro is created when you run example.ex. It contains 
  52.             the profile output for example.ex.
  53.  
  54.  learn.ex  - a quick test of your Euphoria knowledge
  55.  
  56.  mouse.ex  - simple demo of get_mouse() built-in function
  57.        - you need DOS mouse support for this
  58.  
  59.  mset.ex   - Mandelbrot Set (fractal) generator
  60.        - Press Enter to stop the display and change all the colors
  61.            - Press Enter again to choose a region of the M-set to zoom in on
  62.        - use the arrow keys to select a box to enlarge, or type 'q'
  63.          to quit
  64.        - your picture is saved in a file
  65.         - this one will take a few minutes as hundreds of floating-point
  66.           calculations are performed *per pixel*.
  67.         - see if you can run mset with a higher-resolution graphics mode
  68.   
  69.  mydata.ex - a simple database program 
  70.  
  71.  plot3d.ex - 3-D surface plotting of functions 
  72.        - add in your own function of x and y, and see it plotted
  73.        - Press Enter to move on to the next sample function
  74.  
  75.  polygon.ex - displays interesting polygon patterns
  76.         - hit space bar to see a new pattern
  77.  
  78.  queens.ex - solves the N queens problem - how to place N queens on an NxN
  79.          chess board so they do not attack each other (N = 8 for a
  80.          standard board). 
  81.  
  82.  sanity.ex - this program tests hundreds of features of Euphoria, in a quick,
  83.          self-test. If this program reports "PASSED" then Euphoria is
  84.          working on your machine. If not, there may be something wrong.
  85.  
  86.  sb.ex  - bouncing balls screen blank program 
  87.  
  88.  simple.ex - compiled "with trace" so you can see a program execute
  89.          by hitting Enter for each statement. Just Press down on
  90.          the Enter key.
  91.  
  92.  stereo.ex - make a random dot stereo picture:
  93.         - reads "picture" file by default 
  94.           
  95.  ttt.ex  - 3-dimensional tic tac toe
  96.          - try to get 4 in a row, on any plane or 1 per plane
  97.          - play against "DEFENDO" or "AGGRESSO" or a human, or
  98.        watch the AGGRESSO and DEFENDO algorithms slug it out
  99.      - you need DOS mouse support for a human to play
  100.  
  101.  wire.ex - 3-D wire frame demo of the big 'E' in Euphoria
  102.      - hit space bar to freeze/restart the display
  103.      - Enter to quit
  104.  
  105.  bench directory   - contains benchmark programs for comparing Euphoria
  106.              against QBasic. Don't take our word for it! - see
  107.              how fast Euphoria is on your machine
  108.  
  109.  langwar directory - contains a real-time star wars type game
  110.            - read lw.doc, ex lw
  111.  
  112.   -----------------------------------------------------
  113.   -- See the .ex files themselves for more details.  --
  114.   -- You can view them with:   ed filename.ex        --
  115.   -----------------------------------------------------
  116.  
  117.